package com.fastjpa.service;

import java.util.List;
import com.fastjpa.entity.Teacher;
import com.fastjpa.vo.TeacherVo;
import java.io.InputStream;
import javax.servlet.http.HttpServletResponse;
import com.efeichong.common.PageData;

/**
* @author admin
* @date 2022/07/17
* @description 教师
*/
public interface TeacherService {
    /**
     * 通过id查询
     * 
     * @param id 主键
     * @return
     */
    public TeacherVo getInfo(Long id);

    /**
    * 分页查询
    *
    * @param teacherVo
    * @return
    */
    public PageData<TeacherVo> selectByPage(TeacherVo teacherVo);

    /**
     * 新增
     * 
     * @param teacherVo
     * @return
     */
    public void insertTeacher(TeacherVo teacherVo);

    /**
     * 修改
     * 
     * @param teacherVo
     * @return
     */
    public void updateTeacher(TeacherVo teacherVo);

    /**
     * 批量删除
     * 
     * @paramids
     * @return
     */
    public void deleteByIds(List<Long> ids);

    /**
     * 通过id删除
     * 
     * @param id 主键
     * @return 
     */
    public void deleteById(Long id);
}
